package com.xuanyuan.service.impl;

import com.xuanyuan.entity.DictData;
import com.xuanyuan.mapper.DictDataMapper;
import com.xuanyuan.service.DictDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictDataServiceImpl implements DictDataService {
    @Autowired
    private DictDataMapper dictDataMapper;

    @Override
    public List<DictData> selectDictDataByType(String DictType) {
        return dictDataMapper.selectDictDataByType(DictType);
    }
}
